package com.atguigu.bigdata.scala.mytest.chapter07

object Test_Tuple {
  def main(args: Array[String]): Unit = {
    val a=(1,"Hello",2)
    println(a)
    println(a._1)
    val a1 = (0,1,2,3,4,5,6,7,8,9,0)
    println(a1)
    val iterator: Iterator[Any] = a.productIterator
    while (iterator.hasNext){
      println(iterator.next())
    }
  }
}
